<script type="text/javascript">
    setTimeout(function(){
        jQuery(".chzn-select").chosen();
    },1);
</script>
<div class="breadcrumbwidget">
	<ul class="skins">
        <li><a href="default" class="skin-color default"></a></li>
        <li><a href="orange" class="skin-color orange"></a></li>
        <li>&nbsp;</li>
        <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
        <li class="wide"><a href="" class="skin-layout wide"></a></li>
    </ul><!--skins-->
	<ul class="breadcrumb">
        <li><a href="<?php echo $baseurl?>">Trang chủ</a> <span class="divider">/</span></li>
        <li class="active">Cài đặt</li>
    </ul>
</div><!--breadcrumbwidget-->
<div class="pagetitle">
	<h1>Cài đặt</h1> <span></span>
</div>
<div class="maincontent">
    <?php if(validation_errors()):?>
        <div class="alert alert-error" style="margin: 10px 10px 10px 40px;">
          <button data-dismiss="alert" class="close" type="button">×</button>
          <?php echo validation_errors(); ?>
        </div>
    <?php endif;?>
    <div class="contentinner content-dashboard">    
    <?php $attr = array('class' => 'stdform'); echo form_open('', $attr)?>
    
    <p style="display:block;">
    	<label>Giới hạn số lượng User đăng ký mới nhận coupon</label>
        <span class="field">
        Từ: 
            <input type="text" value="<?php echo $data->form_coupon;?>" name="form_coupon" class="input-small" placeholder="" />
        Đến: 
            <input type="text" value="<?php echo $data->to_coupon;?>" name="to_coupon" class="input-small" placeholder="" />
            
        </span>
    </p>
    
    <p>
    	<label>Giới hạn số lượng User đăng ký mới nhận mã quà tặng</label>
        <span class="field">
        Từ: 
            <input type="text" value="<?php echo $data->form_code;?>" name="form_code" class="input-small" placeholder="" />
        Đến: 
            <input type="text" value="<?php echo $data->to_code;?>" name="to_code" class="input-small" placeholder="" />
            
        </span>
    </p>
    
    <p>
        <label></label>
        <button class="btn btn-rounded" type="submit"> <i class="iconfa-ok"></i> &nbsp; Lưu lại</button>
        <button class="btn btn-rounded" type="button" onclick="window.location='<?php echo $baseurl.'manage/setting'?>'"> <i class="icon-arrow-right"></i> &nbsp; Hủy bỏ</button>
    </p>
    
    </form>
    </div>
</div>

<style>
.stdform label {
float: left;
width: 395px !important;
text-align: right;
padding: 5px 20px 0 0;
font-weight: bold !important;
}
</style>